package com.cwvs.models;

import java.io.Serializable;

public class AppFunction implements Serializable {

	private static final long serialVersionUID = -3149223113789088759L;

	private String id;
	private String name;
	private String url;
	private String parentId;
	private String parentName;
	private String lft;
	private String rgt;
	private String handler;
	private String handlerUrl;
	private String handlerMethod;
	private String code;
	private String theType;
	private boolean needAuth;
	private boolean isMenu;
	private boolean isFunctionMenu;
	private boolean isActive;

	public boolean isMenu() {
		return isMenu;
	}

	public void setMenu(boolean isMenu) {
		this.isMenu = isMenu;
	}

	public boolean isFunctionMenu() {
		return isFunctionMenu;
	}

	public void setFunctionMenu(boolean isFunctionMenu) {
		this.isFunctionMenu = isFunctionMenu;
	}

	public boolean isActive() {
		return isActive;
	}

	public void setActive(boolean isActive) {
		this.isActive = isActive;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}

	/**
	 * @param name
	 *            the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * @return the url
	 */
	public String getUrl() {
		return url;
	}

	/**
	 * @param url
	 *            the url to set
	 */
	public void setUrl(String url) {
		this.url = url;
	}

	public String getParentId() {
		return parentId;
	}

	public void setParentId(String parentId) {
		this.parentId = parentId;
	}

	public String getParentName() {
		return parentName;
	}

	public void setParentName(String parentName) {
		this.parentName = parentName;
	}

	public String getLft() {
		return lft;
	}

	public void setLft(String lft) {
		this.lft = lft;
	}

	public String getRgt() {
		return rgt;
	}

	public void setRgt(String rgt) {
		this.rgt = rgt;
	}

	/**
	 * @return the handler
	 */
	public String getHandler() {
		return handler;
	}

	/**
	 * @param handler
	 *            the handler to set
	 */
	public void setHandler(String handler) {
		this.handler = handler;
	}

	/**
	 * @return the handler_url
	 */
	public String getHandlerUrl() {
		return handlerUrl;
	}

	/**
	 * @param handlerUrl
	 *            the handler_url to set
	 */
	public void setHandlerUrl(String handlerUrl) {
		this.handlerUrl = handlerUrl;
	}

	/**
	 * @return the handler_method
	 */
	public String getHandlerMethod() {
		return handlerMethod;
	}

	/**
	 * @param handlerMethod
	 *            the handler_method to set
	 */
	public void setHandlerMethod(String handlerMethod) {
		this.handlerMethod = handlerMethod;
	}

	/**
	 * @return the code
	 */
	public String getCode() {
		return code;
	}

	/**
	 * @param code
	 *            the code to set
	 */
	public void setCode(String code) {
		this.code = code;
	}

	/**
	 * @return the the_type
	 */
	public String getTheType() {
		return theType;
	}

	/**
	 * @param theType
	 *            the the_type to set
	 */
	public void setTheType(String theType) {
		this.theType = theType;
	}

	/**
	 * @return the need_auth
	 */
	public boolean isNeedAuth() {
		return needAuth;
	}

	/**
	 * @param needAuth
	 *            the need_auth to set
	 */
	public void setNeedAuth(boolean needAuth) {
		this.needAuth = needAuth;
	}

	/**
	 * @return the is_menu
	 */
	public boolean isIsMenu() {
		return isMenu;
	}

	/**
	 * @param isMenu
	 *            the is_menu to set
	 */
	public void setIsMenu(boolean isMenu) {
		this.isMenu = isMenu;
	}

	/**
	 * @return the is_function_menu
	 */
	public boolean isIsFunctionMenu() {
		return isFunctionMenu;
	}

	/**
	 * @param isFunctionMenu
	 *            the is_function_menu to set
	 */
	public void setIsFunctionMenu(boolean isFunctionMenu) {
		this.isFunctionMenu = isFunctionMenu;
	}

	/**
	 * @return the is_active
	 */
	public boolean isIsActive() {
		return isActive;
	}

	/**
	 * @param isActive
	 *            the is_active to set
	 */
	public void setIsActive(boolean isActive) {
		this.isActive = isActive;
	}

}
